package model

import (
	"time"
)

type AuCarOwnerCompensate struct {
	Id               int       `xorm:"not null pk autoincr INT(10)"`
	OwnerId          int       `xorm:"not null INT(10)"`
	OrderId          int       `xorm:"not null INT(10)"`
	CarId            int       `xorm:"not null INT(10)"`
	CompensateAmount float32   `xorm:"not null default 0.00 FLOAT(10,2)"`
	EmpId            int       `xorm:"not null INT(10)"`
	CompensateTime   time.Time `xorm:"not null DATETIME"`
	Remark           string    `xorm:"VARCHAR(255)"`
	Status           int       `xorm:"not null default 1 TINYINT(2)"`
	Createtime       time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
